package com.chushouya.product.dto.admin.category;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("商品分类属性列表")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CategoryAttrListDTO {

    @ApiModelProperty("属性ID")
    private Long attrId;

    @ApiModelProperty("属性名称")
    private String attrName;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("显示/隐藏")
    private Integer showFlag;

    @ApiModelProperty("属性值列表")
    private List<CategoryAttrValueDTO> attrValueList;

    private Boolean checked = Boolean.FALSE;

}
